import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

import '../../../helper/utils/color.dart';

/// @Author : 王亚东

/// @Time : On 2021/11/24 15:41



class ForgetSuccessPage extends StatelessWidget {
  const ForgetSuccessPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      body: Column(
        children: [
          Align(alignment: Alignment.topLeft,child: SafeArea(child: GestureDetector(child: Padding(child: Image.asset('images/x.png',width: 18,height:18,),padding: EdgeInsets.all(15),),onTap: (){Get.back();},)),),

          Container(margin: const EdgeInsets.only(top: 50,bottom: 25),child: Image.asset('images/icon_success.png',width: 130.r,height: 130.r,),),
          Text('密码找回成功',style: TextStyle(color: ColorsUtil.title,fontSize: 17.sp,fontFamily: 'pingfangB'),),
          Container(margin: const EdgeInsets.only(top: 6),child: Text('密码已成功找回，快去登录试试吧~',style: TextStyle(color: ColorsUtil.content,fontSize: 14.sp),),),
          GestureDetector(child: Container(decoration: const BoxDecoration(
                borderRadius: BorderRadius.all(Radius.circular(25)),
                color: Color(0xff27AD63)),
            padding: EdgeInsets.all(12.r),
            margin: EdgeInsets.fromLTRB(30,70,30,20),child: Center(child: Text('返回登录',
            style: TextStyle(
                color: Colors.white, fontSize: 18.sp,fontFamily: 'pingfangB'),),),), onTap: () {

            Get.back(result: true);
          },),
        ],
      ),
    );
  }
}



 
